import commonLayout from '@/layout/admin/common';
export default [{
	path: '/data',
	name: 'Data',
	redirect: "/data/resourcelib",
	meta: {
		title: "数据中心"
	},
	component: commonLayout,
	children: [{
		path: "/data/resourcelib",
		name: "dataResourcelib",
		redirect: "/data/resourcelib",
		meta: {
			title: "资源库"
		},
		component: () => import("@/views/admin/data/resourcelib/index"),
		children: [{
			path: "",
			name: "dataResourcelibList",
			component: () => import("@/views/admin/data/resourcelib/librarys")
		}, {
			path: "/data/resourcelib/:id",
			name: "dataResourcelibDetail",
			meta: {
				title: "库详情"
			},
			component: () => import("@/views/admin/data/resources/index")
		}]
	}, {
		path: '/data/publiclib',
		name: 'dataPubliclib',
		meta: {
			title: '公共资源库'
		},
		component: () => import("@/views/admin/data/publiclib/index"),
		children: [{
			path: "/data/publiclib/:id",
			name: "dataPubliclibDetail",
			component: () => import("@/views/admin/data/resources/index")
		}]
	}, {
		path: '/data/smartDirectory',
		name: 'dataSmartDirectory',
		redirect: "/data/smartDirectory",
		meta: {
			title: '智能目录'
		},
		component: () => import("@/views/admin/data/smart/index"),
		children: [{
			path: "",
			name: "dataSmartDirectoryList",
			component: () => import("@/views/admin/data/smart/list")
		}, {
			path: "/data/smartDirectory/:id",
			name: "dataSmartDirectoryDetail",
			meta: {
				title: "目录文件"
			},
			component: () => import("@/views/admin/data/smart/detail")
		}]
	}, {
		path: '/data/cache',
		name: 'dataCache',
		meta: {
			title: '缓存库'
		},
		component: () => import("@/views/admin/data/cache/index")
	}, {
		path: '/data/catalog',
		name: 'dataCatalog',
		meta: {
			title: '编目管理'
		},
		component: () => import("@/views/admin/data/catalog/index")
	}, {
		path: '/data/label',
		name: 'dataLabel',
		meta: {
			title: '标签管理'
		},
		component: () => import("@/views/admin/data/label/index")
	}, {
		path: '/data/external',
		name: 'dataExternal',
		meta: {
			title: '外部接口'
		},
		component: () => import("@/views/admin/data/external/index")
	}]
}]